package org.n.shop.domain.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private int userId;
    private String name;
    private String username;
    private String password;
    private String avatar;
    private int type;
    private LocalDateTime loginTime;
    private String loginIp;
    private int gender;
    private Date birthday;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private int isDelete;
}
